package com.castle.fortress.admin.study.exam.mapper;

import com.castle.fortress.admin.study.exam.dto.StudyExamStatisticsMemberDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.study.exam.entity.StudyExamStatisticsMemberEntity;
import java.util.Map;
import java.util.List;
/**
 * 会员考试记录表Mapper 接口
 *
 * @author castle
 * @since 2023-02-16
 */
@Mapper
public interface StudyExamStatisticsMemberMapper extends BaseMapper<StudyExamStatisticsMemberEntity> {

	List<StudyExamStatisticsMemberEntity> queryList(@Param("map")Map<String, Long> pageMap, @Param("studyExamStatisticsMemberEntity") StudyExamStatisticsMemberEntity studyExamStatisticsMemberEntity);


    StudyExamStatisticsMemberEntity queryStatisticeMemberInfo(@Param("id")Long id);

    /**
     * 查询用户考试的试卷详情
     * @param id
     * @return
     */
    StudyExamStatisticsMemberEntity queryStatisticeMemberDetail(@Param("id")Long id);

    List<StudyExamStatisticsMemberEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("studyExamStatisticsMemberEntity") StudyExamStatisticsMemberEntity studyExamStatisticsMemberEntity);

    Long extendsCount( @Param("studyExamStatisticsMemberEntity") StudyExamStatisticsMemberEntity studyExamStatisticsMemberEntity);

    List<StudyExamStatisticsMemberEntity> listStudyExamStatisticsMember(@Param("studyExamStatisticsMemberDto") StudyExamStatisticsMemberDto studyExamStatisticsMemberDto);
}
